﻿using System;

namespace Medianamik.UI.Web.MVP.View
{
    public abstract class ModuleViewWithNodeTypeNodeTypePropertyGrid<T> : ModuleViewWithGrid<T>, IModuleViewWithNodeTypePropertyGrid
        where T : IModuleView
    {
        public virtual string AttributesPageUrl
        {
            get { return null; }
        }

        public string[] ExcludedGroupNames
        {
            get { return new[] {"Admin", "Referencement"}; }
            set { }
        }

        public bool IncludeInheritedProperties
        {
            get { return true; }
            set { }
        }

        public bool IncludeGeneratedProperties
        {
            get { return true; }
            set { }
        }

        public virtual string EditButtonId
        {
            get { return "EditButton"; }
        }

        public virtual string DeleteButtonId
        {
            get { return "DeleteButton"; }
        }
    }
}